package com.ssmdemo.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.ssmdemo.pojo.MenuEntity;

import java.util.List;
import java.util.Map;

public interface MenuMapper extends BaseMapper<MenuEntity> {

    List<MenuEntity> selectMenuListByParentId(Integer id);
    int insertMenu(MenuEntity menuEntity);
    int updateMenu(MenuEntity menuEntity);
    List<Map<String,Object>> getAuthorizationMenuListByRoleId(Integer roleId);
}
